package service

import (
	"boy-go/modules/system/vo"
)

type SysDictTypeService interface {
	GetById(dictId int64) (*vo.SysDictTypeModel, error)
	List(req *vo.QuerySysDictTypeReq) (*vo.ListSysDictTypeRsp, error)
	Add(req *vo.AddSysDictTypeReq) (*vo.AddSysDictTypeRsp, error)
	Edit(req *vo.EditSysDictTypeReq) (*vo.EditSysDictTypeRsp, error)
	Del(dictId int64) error
	BatchDel(ids []string) error
	//SelectDictDataByType 根据字典类型查询字典数据
	SelectDictDataByType(dictType string) ([]*vo.SysDictDataModel, error)
	SelectDictTypeAll() ([]*vo.SysDictTypeModel, error)
}
